package com.account.common.result;

/**
 * Created by GPL on 2017/8/10.
 */
public class DataResult<T> extends Result {
    private T data;

    public DataResult() {
    }

    public DataResult(String code) {
        super(code);
    }

    public DataResult(String code, String message) {
        super(code, message);
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
